package com.ticket.db.dao;

import com.ticket.db.entity.TblMarketInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("TblMarketInfoMapper")
public interface TblMarketInfoMapper {
    //@Select("select * from tbl_market_info")
    List<TblMarketInfo> findTblMarketInfoAll();

    List<TblMarketInfo> findMarketInfo(TblMarketInfo marketInfo);

    boolean insertTblMarketInfo(TblMarketInfo marketInfo);

    boolean updateTblMarketInfo(TblMarketInfo marketInfo);

    TblMarketInfo findTblMarketInfoByConditionNoNLike(TblMarketInfo marketInfo);

}
